package com.fram.mapper;

import java.util.List;

import com.fram.bean.api.circle.response.ResourceBasicResponse;
import com.fram.bean.api.order.request.OrderGoodsDetailRequest;
import com.fram.entity.OrderDetail;

public interface OrderDetailMapper {
	int deleteByPrimaryKey(Long id);

	int insert(OrderDetail record);

	int insertSelective(OrderDetail record);

	OrderDetail selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(OrderDetail record);

	int updateByPrimaryKey(OrderDetail record);

	List<OrderDetail> selectByMainOrderId(OrderGoodsDetailRequest request);

	List<ResourceBasicResponse> selectForBasicByMainOrderId(Long mainOrderId);
}